package cn.itzd.service.impl;

import cn.itzd.entity.SysRole;
import cn.itzd.mapper.SysRoleMapper;
import cn.itzd.service.SysRoleService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * (DadaRole)表服务实现类
 *
 * @author makejava
 */
@Service
public class SysRoleServiceImpl extends ServiceImpl<SysRoleMapper, SysRole> implements SysRoleService {

    @Autowired
    private SysRoleMapper sysRoleMapper;

    @Override
    public List<Map<String, Object>> roles() {
        return sysRoleMapper.roles();
    }
}

